# [3,5,8,7,2,0] 求列表最小值
a=0
m=[3,5,8,7,2,0]
x=m[a]
while a<len(m):
    if m[a]<x:
        x=m[a]
    a+=1
print(x)